﻿@using IterationLife.Extensions.EasyUI
@using Util
@using Util.Ui
@model IterationLife.PlatformBackEnd.AppServices.Dtos.FootballTeachings.CourseDto

<div class="divDetail">
    <div class="detailTitle">课程信息</div>
    <div class="detailContent">
        <dl>
            <dt>@Html.LabelFor( t => t.Name )</dt>
            <dd>
                @Model.Name
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor(t => t.Difficulty)</dt>
            <dd>
                @Model.Difficulty.Description()
            </dd>
        </dl>

        <div class="line"></div>
        <dl>
            <dt>@Html.LabelFor(t => t.Banner)</dt>
            <dd>
                @Html.Ui().Attachment().SinglePreview(Model.Banner)
            </dd>
        </dl>
        <div class="line"></div>
        <dl>
            <dt>@Html.LabelFor( t => t.CourseCategoryNames )</dt>
            <dd>
                @Model.CourseCategoryNames
            </dd>
        </dl>
        <div class="line"></div>
        <dl>
            <dt>@Html.LabelFor( t => t.PlayerPositionNames )</dt>
            <dd>
                @Model.PlayerPositionNames
            </dd>
        </dl>
        <div class="line"></div>
        <dl>
            <dt>@Html.LabelFor( t => t.ActionNumber )</dt>
            <dd>
                @Model.ActionNumber
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor( t => t.ParticipationNumber )</dt>
            <dd>
                @Model.ParticipationNumber
            </dd>
        </dl>
        <div class="line"></div>
        <dl>
            <dt>@Html.LabelFor( t => t.SortId )</dt>
            <dd>
                @Model.SortId
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor( t => t.CreationTime )</dt>
            <dd>
                @Model.CreationTime.ToDateTimeString( true )
            </dd>
        </dl>
    </div>
</div>
<div id="dialogButtons">
    @Html.EasyUi().DialogButton( "关 闭" ).Icon( "icon-cancel" ).Width( 90 ).CloseDialog()
</div>